package Java基础Day04面向对象上.综合练习2;

/**
 * Created with IntelliJ IDEA.
 *
 * @author 李铭洋
 * @company 王自立有限公司
 * @date 2021-12-04 10:00
 * @Description:
 **/
public class Customer {
    private String firstName;
    private String lastName;
    private Account account;
    public Customer(String f,String l)
    {
     firstName=f;
     lastName=l;
    }
    public String getFirstName(){
        return firstName;
    }
    public String getLastName(){
        return lastName;
    }
    public Account getAccount(){
        return account;
    }
    public void setAccount(Account acct)
    {
        this.account=acct;
    }
}
